Skip to content

Conversation

praasz
Copy link
Contributor

@praasz praasz commented Oct 8, 2025

Details:

  • Add unit test in common utils ov::util::create_directory_recursive instead of test in GPU specific case only.
  • Add unit test utility for validation if create path is same as expected literals.
  • Update ov::util::make_path as helper to create std::filesystem::path and hide platform specific conversion issues when converting input string to path native format.
  • Use updated make path in core_impl as example.

Tickets:

@praasz praasz requested review from a team as code owners October 8, 2025 14:10
@github-actions github-actions bot added the category: IE Tests OpenVINO Test: plugins and common label Oct 8, 2025
@t-jankowski t-jankowski requested a review from barnasm1 October 8, 2025 14:28
@t-jankowski t-jankowski enabled auto-merge October 8, 2025 15:19
@praasz praasz force-pushed the add-test-for-create-directory-recursive-util branch from 5fb86df to 9cc5f50 Compare October 9, 2025 05:37
Copy link
Contributor

@olpipi olpipi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but what reason to create this PR? Just to improve coverage, or we had bug in create_directory_recursive?

@praasz praasz requested a review from a team as a code owner October 10, 2025 08:20
@github-actions github-actions bot added the category: Core OpenVINO Core (aka ngraph) label Oct 10, 2025
@praasz
Copy link
Contributor Author

praasz commented Oct 10, 2025

LGTM but what reason to create this PR? Just to improve coverage, or we had bug in create_directory_recursive?

The PR description will be updated with explanation.
The main goals are:

  • Add unit test for util function in utils instead keep it as GPU specific test
  • Add some additional verification to check if created directories are same as literals (there con be some hidden conversion on Windows)
  • Add some additional test utils for path validation which can be useful to check if there is no regression introduced during migration from string, etc, to fs::path

Signed-off-by: Raasz, Pawel <[email protected]>
Signed-off-by: Raasz, Pawel <[email protected]>
@github-actions github-actions bot added the category: inference OpenVINO Runtime library - Inference label Oct 10, 2025
Signed-off-by: Raasz, Pawel <[email protected]>
@praasz praasz added this to the 2025.4 milestone Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: Core OpenVINO Core (aka ngraph) category: IE Tests OpenVINO Test: plugins and common category: inference OpenVINO Runtime library - Inference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants